<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>EOS.IO: TOKEN_NAME Namespace Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="eos-logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">EOS.IO
   &#160;<span id="projectnumber">DAWN3.0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">TOKEN_NAME Namespace Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_t_o_k_e_n___n_a_m_e_1_1transfer.html">transfer</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga86efb13cee9fb81541e1b4d92617b68f"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structeosio_1_1token.html">eosio::token</a>&lt; <a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a>, <a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(storage)&gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__storageapi.html#ga86efb13cee9fb81541e1b4d92617b68f">storage_tokens</a></td></tr>
<tr class="separator:ga86efb13cee9fb81541e1b4d92617b68f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadb8b8fed67974b71f01e447297223754"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__storageapi.html#gadb8b8fed67974b71f01e447297223754">accounts</a> = <a class="el" href="structeosio_1_1table.html">eosio::table</a>&lt; <a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(storage), <a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(storage), <a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(<a class="el" href="structaccount.html">account</a>), <a class="el" href="structaccount.html">account</a>, <a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> &gt;</td></tr>
<tr class="separator:gadb8b8fed67974b71f01e447297223754"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:afa4a47dab738fad414a191e554233467"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_t_o_k_e_n___n_a_m_e.html#afa4a47dab738fad414a191e554233467">store_account</a> (<a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> name, const <a class="el" href="structaccount.html">account</a> &amp;account_to_store)</td></tr>
<tr class="separator:afa4a47dab738fad414a191e554233467"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23a009f16ddbdf742a8aa8dc4301e10a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_t_o_k_e_n___n_a_m_e.html#a23a009f16ddbdf742a8aa8dc4301e10a">apply_storage_transfer</a> (const <a class="el" href="struct_t_o_k_e_n___n_a_m_e_1_1transfer.html">TOKEN_NAME::transfer</a> &amp;transfer_storage)</td></tr>
<tr class="separator:a23a009f16ddbdf742a8aa8dc4301e10a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18486d4da268752899c650597706531b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_t_o_k_e_n___n_a_m_e.html#a18486d4da268752899c650597706531b">validate_ipfspath</a> (const char *ipfspath, <a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len)</td></tr>
<tr class="separator:a18486d4da268752899c650597706531b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53c86f810197659cf9e744fbdb77d20a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_t_o_k_e_n___n_a_m_e.html#a53c86f810197659cf9e744fbdb77d20a">validate_eospath</a> (const char *eospath, <a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len)</td></tr>
<tr class="separator:a53c86f810197659cf9e744fbdb77d20a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a320896ff363dcabfd994b2b7a3167fc7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_t_o_k_e_n___n_a_m_e.html#a320896ff363dcabfd994b2b7a3167fc7">read_link_from_buffer</a> (const char *buffer, <a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> bufferlen, TOKEN_NAME::link &amp;link_to_read, <a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> &amp;eospathlen, <a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> ipfspathlen)</td></tr>
<tr class="separator:a320896ff363dcabfd994b2b7a3167fc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abde3446797f0b40141fc5abfe1811cfd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_t_o_k_e_n___n_a_m_e.html#abde3446797f0b40141fc5abfe1811cfd">apply_storage_setlink</a> ()</td></tr>
<tr class="separator:abde3446797f0b40141fc5abfe1811cfd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a933270cc1dd428e096885cb05fca9c19"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_t_o_k_e_n___n_a_m_e.html#a933270cc1dd428e096885cb05fca9c19">apply_storage_removelink</a> (char *eospath, <a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> eospathlen)</td></tr>
<tr class="separator:a933270cc1dd428e096885cb05fca9c19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa19b5a46c97fa5b920c49aa9ec467d78"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_t_o_k_e_n___n_a_m_e.html#aa19b5a46c97fa5b920c49aa9ec467d78">apply_storage_createstore</a> (char *eospath, <a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> eospathlen)</td></tr>
<tr class="separator:aa19b5a46c97fa5b920c49aa9ec467d78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3416b85bad2ffb4da3fc00dc9d4d50a2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_t_o_k_e_n___n_a_m_e.html#a3416b85bad2ffb4da3fc00dc9d4d50a2">apply_storage_rejectstore</a> (char *eospath, <a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> eospathlen)</td></tr>
<tr class="separator:a3416b85bad2ffb4da3fc00dc9d4d50a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga91c727f2c7563c091d098f5e97d4d071"><td class="memItemLeft" align="right" valign="top">struct&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__storageapi.html#ga91c727f2c7563c091d098f5e97d4d071">PACKED</a> (<a class="el" href="structaccount.html">account</a>)</td></tr>
<tr class="memdesc:ga91c727f2c7563c091d098f5e97d4d071"><td class="mdescLeft">&#160;</td><td class="mdescRight">row in account table stored within each scope  <a href="group__storageapi.html#ga91c727f2c7563c091d098f5e97d4d071">More...</a><br /></td></tr>
<tr class="separator:ga91c727f2c7563c091d098f5e97d4d071"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0f5c38cd82e9e2d628b89620695ee1f6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structaccount.html">account</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__storageapi.html#ga0f5c38cd82e9e2d628b89620695ee1f6">get_account</a> (<a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> owner)</td></tr>
<tr class="separator:ga0f5c38cd82e9e2d628b89620695ee1f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1b41f02233d1ea7de04e16fdeedd987d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__storageapi.html#ga1b41f02233d1ea7de04e16fdeedd987d">get_quota_used</a> (<a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> owner)</td></tr>
<tr class="separator:ga1b41f02233d1ea7de04e16fdeedd987d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6fd7e68a6bf71a5a78dc2ff7047e8f62"><td class="memItemLeft" align="right" valign="top">struct&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__storageapi.html#ga6fd7e68a6bf71a5a78dc2ff7047e8f62">PACKED</a> (link)</td></tr>
<tr class="separator:ga6fd7e68a6bf71a5a78dc2ff7047e8f62"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="aa19b5a46c97fa5b920c49aa9ec467d78"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa19b5a46c97fa5b920c49aa9ec467d78">&#9670;&nbsp;</a></span>apply_storage_createstore()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TOKEN_NAME::apply_storage_createstore </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>eospath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&#160;</td>
          <td class="paramname"><em>eospathlen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a3416b85bad2ffb4da3fc00dc9d4d50a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3416b85bad2ffb4da3fc00dc9d4d50a2">&#9670;&nbsp;</a></span>apply_storage_rejectstore()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TOKEN_NAME::apply_storage_rejectstore </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>eospath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&#160;</td>
          <td class="paramname"><em>eospathlen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a933270cc1dd428e096885cb05fca9c19"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a933270cc1dd428e096885cb05fca9c19">&#9670;&nbsp;</a></span>apply_storage_removelink()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TOKEN_NAME::apply_storage_removelink </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>eospath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&#160;</td>
          <td class="paramname"><em>eospathlen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="abde3446797f0b40141fc5abfe1811cfd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abde3446797f0b40141fc5abfe1811cfd">&#9670;&nbsp;</a></span>apply_storage_setlink()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TOKEN_NAME::apply_storage_setlink </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a23a009f16ddbdf742a8aa8dc4301e10a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a23a009f16ddbdf742a8aa8dc4301e10a">&#9670;&nbsp;</a></span>apply_storage_transfer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TOKEN_NAME::apply_storage_transfer </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_t_o_k_e_n___n_a_m_e_1_1transfer.html">TOKEN_NAME::transfer</a> &amp;&#160;</td>
          <td class="paramname"><em>transfer_storage</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>token subtraction has underflow assertion</p>
<p>token addition has overflow assertion </p>

</div>
</div>
<a id="a320896ff363dcabfd994b2b7a3167fc7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a320896ff363dcabfd994b2b7a3167fc7">&#9670;&nbsp;</a></span>read_link_from_buffer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> TOKEN_NAME::read_link_from_buffer </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&#160;</td>
          <td class="paramname"><em>bufferlen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">TOKEN_NAME::link &amp;&#160;</td>
          <td class="paramname"><em>link_to_read</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> &amp;&#160;</td>
          <td class="paramname"><em>eospathlen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&#160;</td>
          <td class="paramname"><em>ipfspathlen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="afa4a47dab738fad414a191e554233467"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa4a47dab738fad414a191e554233467">&#9670;&nbsp;</a></span>store_account()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TOKEN_NAME::store_account </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a>&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structaccount.html">account</a> &amp;&#160;</td>
          <td class="paramname"><em>account_to_store</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a53c86f810197659cf9e744fbdb77d20a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53c86f810197659cf9e744fbdb77d20a">&#9670;&nbsp;</a></span>validate_eospath()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool TOKEN_NAME::validate_eospath </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>eospath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&#160;</td>
          <td class="paramname"><em>len</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a18486d4da268752899c650597706531b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a18486d4da268752899c650597706531b">&#9670;&nbsp;</a></span>validate_ipfspath()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool TOKEN_NAME::validate_ipfspath </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>ipfspath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&#160;</td>
          <td class="paramname"><em>len</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
